package com.guan.product.service;


import com.guan.product.mapper.ProductMapper;
import com.guan.product.model.ProductInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductService {

    @Autowired
    private ProductMapper productMapper;

    public ProductInfo getProductMapper(Integer productID) {
        return productMapper.selectProductByID(productID);
    }
}
